//PrototypeManager.java
package prototype.record;
import java.util.*;

/**
 *@author:youtubezou
 *@version:2012-7-16
 */
public class PrototypeManager {
	private Vector<Prototype> vec = new Vector<Prototype>();
	
	public void add(Prototype item){
		vec.add(item);
	}
	
	public Prototype get(int i){
		if(i >= vec.size())
			return null;
		return vec.get(i);
	}
	
	public Vector<Prototype> getVector(){
		return vec;
	}
}
